package com.weixin.paleituo.bean;


public class StatusCode<T> {
	private int number;// 状态码
	private boolean flag = false;// 状态码状态 0失败true 1成功false
	private String msg;// 状态码值
	private String detailMsg;// 状态码详细值
	private T data;

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public boolean isFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getDetailMsg() {
		return detailMsg;
	}

	public void setDetailMsg(String detailMsg) {
		this.detailMsg = detailMsg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "StatusCode{" +
				"number='" + number + '\'' +
				", flag=" + flag +
				", msg='" + msg + '\'' +
				", detailMsg='" + detailMsg + '\'' +
				", data=" + data +
				'}';
	}
}
